<template>
    <div id="resume">

<div class="row" id="pdfDom" style="padding-top: 55px;background-color:#fff;">
        <div style="float:right">


</div>

    <resumebasic></resumebasic><br><br><br><br>

    <advantage></advantage><br><br><br><br>

    <resumebasicjobexpectations></resumebasicjobexpectations><br><br><br><br>

    <resumebasicjobsearchingstatus></resumebasicjobsearchingstatus><br><br><br><br>

    <resumebasicpersonalskills></resumebasicpersonalskills><br><br><br><br>

    <workexperience></workexperience><br><br><br><br>

    <item></item><br><br><br><br>

    <education></education><br><br><br><br>

    <social></social><br><br><br><br>

    <imageOne></imageOne><br><br><br><br>

<button type="button" class="btn btn-primary" @click="importWord">导出word</button>
<!--<button type="button" class="btn btn-primary" v-on:click="getPdf()">导出PDF</button>-->
    </div>
     </div>
</template>
<script>
import workexperience from './workexperience'
import resumebasicjobexpectations from './resumebasic-job-expectations'
import resumebasicjobsearchingstatus from './resumebasic-job-searching-status'
import resumebasicpersonalskills from './resumebasic-personal-skills'
import home from './home'
import social from './social'
import item from './item'
import imageOne from './image'
import education from './education'
import resumebasic from './resumebasic'
import advantage from './advantage'
export default {
    name:'Resume',
    data(){
        return{
             tabPosition: 'left',
              percentage: 10,

          colors: '#f56c6c',
          htmlTitle: '个人简历',
          resume:{}

        }
    },
    components:{
        workexperience,resumebasicjobexpectations,item,resumebasic,advantage,imageOne,education,social,home,resumebasicjobsearchingstatus,resumebasicpersonalskills
    },
    methods:{
        importWord(){
             this.resume = JSON.parse(localStorage.getItem("resume"))
              this.$http({
                url: this.$http.adornUrl(`/resume/word/exportWord/${this.resume.id}`),
                method: 'get'
                }).then(({data}) => {
               
                })
        }
    },
    mounted(){

    }
}
</script>

